import java.util.Date;




public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Date now = new Date(System.currentTimeMillis());
		String date = DateUtil.dateToString(now);
		long time = DateUtil.stringToTime(date);
		System.out.println("Main:" + time);
		

		String s = "aaa bbb ccc+0000";
		String s2 = s.substring(0, s.length() -5);
		System.out.println(s2);
	}
}
